package com.bwie.mapper;

import com.bwie.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bwie.utils.R;
import com.bwie.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
* @author lenovo
* @description 针对表【t_user】的数据库操作Mapper
* @createDate 2024-09-03 20:18:47
* @Entity com.bwie.pojo.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {


    @Update("update t_user set password = #{password} where mobile = #{mobile}")
    R updatePassword(UserVo userVo);
}




